package com.qrxs.os.data

import com.lib.base.data.BaseResult
import com.lib.base.data.xsos.UserEntity
import io.reactivex.Observable
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

interface ApiLogin {

    @FormUrlEncoded
    @POST("/appserver/account/login")
    fun login(
        @Field("loginName") loginName: String,
        @Field("password") password: String,
        @Field("equName") equName: String,
        @Field("loginIp") loginIp: String,
        @Field("equVersion") equVersion: String,
        @Field("equImei") equImei: String
    ): Observable<BaseResult<UserEntity>>
}